﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LanguageTranslatorTool.aspx.cs"
    Inherits="MLM.AdminCP.Pages.LanguageTranslatorTool" EnableEventValidation="false"
    ValidateRequest="false" meta:resourcekey="PageResource1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Language Translator Tool</title>
    <script src="/AdminCP/Libs/Scripts/jquery-1.9.1.min.js" type="text/javascript"></script>
    <script src="/AdminCP/Libs/Scripts/jquery.tipsy.js" type="text/javascript"></script>
    <link href="/AdminCP/Libs/Styles/tipsy.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        $(function () {
            $('.GridViewTranslate img').tipsy({ fade: false, gravity: 'w', title: 'alt', live: true });
        });
    </script>
    <style type="text/css">
        *
        {
            margin: 0;
            padding: 0;
        }
        body
        {
            font-family: Tahoma;
            font-size: 14px;
            background: #f1f1f1;
        }
        table
        {
            border-collapse: collapse;
        }
        table tr td
        {
            border-color: #f1f1f1;
            padding: 2px;
        }
        table tr th
        {
            background: none repeat scroll 0 0 #F1F1F1;
            border-color: #DDDDDD;
            color: #333333;
            padding: 2px;
            text-shadow: 1px 1px 1px #CCCCCC;
        }
        #Wrapper
        {
            padding: 10px;
            width: 95%;
            margin: 20px auto;
            border: solid 1px #ccc;
            box-shadow: 0 0 1px #ddd;
            background: #fff;
            border-radius: 10px;
        }
        .GridViewTranslate input[type="text"]
        {
            min-width: 150px;
        }
        .DDLanguage
        {
            float: left;
            padding: 2px;
        }
        h2.FileNameToTranslate
        {
            font-size: 20px;
            font-weight: normal;
            text-align: center;
            margin-bottom: 10px;
        }
        h2.FileNameToTranslate a
        {
            text-decoration: none;
            color: #336699;
        }
        .TopHeaderTitle
        {
            color: #333333;
            margin-top: 10px;
            text-align: center;
            text-shadow: 1px 1px 1px #CCCCCC;
            text-transform: uppercase;
        }
        .TopHeaderTitle a
        {
            font-size: 13px;
            text-decoration: none;
            color: #336699;
            margin-left: 10px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <h1 class="TopHeaderTitle">
        <asp:Label ID="lblanguagetranslator" runat="server" 
            Text="Language Translator Tool" 
            meta:resourcekey="lblanguagetranslatorResource1"></asp:Label>
        <a href="/AdminCP/Pages/LanguageImportExport.aspx">
            <asp:Label ID="lbimportexporttool" runat="server" Text="Import/Export tool" 
            meta:resourcekey="lbimportexporttoolResource1"></asp:Label></a>
        <a href="/AdminCP/Pages/Default.aspx">
            <asp:Label ID="lbControlPanel" runat="server" Text="Control Panel" 
            meta:resourcekey="lbControlPanelResource1"></asp:Label></a></h1>
    <div id="Wrapper">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
        <telerik:RadFormDecorator runat="server" DecoratedControls="All" 
             meta:resourcekey="RadFormDecoratorResource1" />
        <asp:UpdatePanel ID="UpdatePanel" runat="server">
            <ContentTemplate>
                <mlm:MLMResourceEditor ID="editor" runat="server" />
            </ContentTemplate>
        </asp:UpdatePanel>
        <asp:UpdateProgress ID="UpdateProgress" runat="server" DisplayAfter="300" AssociatedUpdatePanelID="UpdatePanel">
            <ProgressTemplate>
                <asp:Panel ID="progressPanel" runat="server" CssClass="UpdateProgressFooter" 
                    meta:resourcekey="progressPanelResource1">
                    <asp:Image ID="imgLoading" runat="server" SkinID="LoadingImage" 
                        meta:resourcekey="imgLoadingResource1" />
                    <span class="LoadingMessage" style="padding-left: 8px; position: fixed; background: #fff;
                        padding: 3px 10px; border: solid 1px #ccc; top: 50%; left: 50%; z-index: 1000;">
                        <asp:Literal ID="Literal1" runat="server" 
                        meta:resourcekey="Literal1Resource1" Text="Please wait..."></asp:Literal>
                    </span>
                </asp:Panel>
            </ProgressTemplate>
        </asp:UpdateProgress>
    </div>
    </form>
</body>
</html>
